﻿using System;
using System.Net.Sockets;

namespace Xin478.MySocket
{
    public class StateObject 
    {
        public Socket workSocket=null;
        public const int BufferSize=1024*32;
        public byte[] buffer;
        public StateObject() { this.buffer = new byte[BufferSize]; }
        public StateObject(int bufferSize) { this.buffer = new byte[bufferSize]; }
    }
}
